var UIPanel_TiXian = (function () {
    function UIPanel_TiXian() {
        this.panel = null;

    }

    var __proto = UIPanel_TiXian.prototype;
    __proto.init = function () {
        var btn_back = this.panel.getChild("btn_back");
        btn_back.onClick(this, function () {
            this.panel.visible = false;
        });

        this.goldText = this.panel.getChild("gold");
        this.inputText = this.panel.getChild("input");
        this.btn_bottom = this.panel.getChild("btn_bottom");

        this.goldText.text = 0;

        this.btn_bottom.onClick(this, this.clickBottom);
    }

    __proto.clickBottom = function (e) {
        console.log("立即提现", this.inputText.text)
    }

    __proto.setGold = function (value) {
        this.goldText.text = value;
    }

    return UIPanel_TiXian;
})()
